import java.util.HashMap;

class text123
{
    public int a;
    public static int b;


}


public class Thread5 {
    public static void main(String[] args) {
        HashMap<Integer,Integer> c
        text123 t1=new text123();
        text123 t2=new text123();
        //两个实例分别指向两份不同的a
        t1.a=20;
        t2.a=30;
        //被static 修饰的b只有一份，两次都指向同一个b
        text123.b=10;
        text123.b=20;
        System.out.println("t1="+t1.a);
        System.out.println("t2="+t2.a);
        System.out.println(text123.b);
    }

}
